package mysql

import "gorm.io/gorm"

type Sort struct {
	gorm.Model
	Sort        string  `gorm:"type:varchar(20);not null;comment:'分类';"`
	ProductCode string  `gorm:"type:varchar(50);not null;comment:'编码';"`
	ProductName string  `gorm:"type:varchar(70);not null;comment:'姓名';"`
	Number      int     `gorm:"type:int(11);not null;comment:'参数';"`
	Price       float64 `gorm:"type:decimal(10,2);not null;comment:'价格';"`
	Cost        int     `gorm:"type:int(11);not null;comment:'成本';"`
	Img         string  `gorm:"type:varchar(200);not null;comment:'图片';"`
	UserId      int     `gorm:"type:int(11);not null;comment:'用户ID';"`
}
